﻿using System;
using System.Collections.ObjectModel;
using System.Xml.Serialization;

namespace Alimentador.Foods
{
    /// <summary>
    /// Main Food list class for holding top level
    /// </summary>
    [Serializable]
    public class MainCategoryList : FoodBase
    {
        /// <summary>
        /// Collection of Foods
        /// </summary>
        [XmlElement("MainFoods")]
        public ObservableCollection<FoodCategory> MainFoods { get; set; }

        /// <summary>
        /// Constructor
        /// </summary>
        public MainCategoryList()
        {
            this.MainFoods = new ObservableCollection<FoodCategory>();
            this.GetName = "";
        }
    }
}
